package com.weishi.project.api.vo;

import com.weishi.common.utils.StringUtils;
import com.weishi.project.training.domain.Sportsman;
import com.weishi.project.training.domain.SportsmanPhysicalQuality;
import lombok.Data;

@Data
public class SportsmanAllVo {

    private SportsmanPhysicalQuality sportsmanPhysicalQuality;
    private SportsmanVo sportsman;

    public Sportsman getSportsman(){
        Sportsman sportsman = new Sportsman();
        StringUtils.copyProperties(this.sportsman, sportsman);
        return sportsman;
    }
}
